/* 全局样式 - 真正的半透明磨砂质感 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0c1426 0%, #1a2332 100%);
  color: #e6e6e6;
  min-height: 100vh;
}

#app {
  min-height: 100vh;
}

/* 全局输入框样式 - 真正的半透明磨砂质感 */
.el-input__wrapper {
  background: rgba(15, 25, 40, 0.6) !important;
  backdrop-filter: blur(15px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
  border: 1px solid rgba(0, 234, 255, 0.4) !important;
  border-radius: 10px !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 100% !important;
  position: relative !important;
}

.el-input__wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(0, 234, 255, 0.05) 100%);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}

.el-input__wrapper:hover {
  border-color: rgba(0, 234, 255, 0.6) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 234, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
  background: rgba(15, 25, 40, 0.8) !important;
  transform: translateY(-1px) !important;
}

.el-input__wrapper.is-focus {
  border-color: rgba(0, 234, 255, 0.9) !important;
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 234, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
  background: rgba(15, 25, 40, 0.9) !important;
  transform: translateY(-2px) !important;
}

.el-input__inner {
  background: transparent !important;
  border: none !important;
  color: #e6e6e6 !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  height: auto !important;
  line-height: 1.4 !important;
  width: 100% !important;
  position: relative !important;
  z-index: 2 !important;
}

.el-input__inner::placeholder {
  color: rgba(230, 230, 230, 0.5) !important;
  font-size: 14px !important;
}

/* 文本域样式 - 半透明磨砂质感 */
.el-textarea__inner {
  background: rgba(15, 25, 40, 0.6) !important;
  backdrop-filter: blur(15px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
  border: 1px solid rgba(0, 234, 255, 0.4) !important;
  border-radius: 10px !important;
  color: #e6e6e6 !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  resize: vertical !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 100% !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.el-textarea__inner:hover {
  border-color: rgba(0, 234, 255, 0.6) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 234, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
  background: rgba(15, 25, 40, 0.8) !important;
  transform: translateY(-1px) !important;
}

.el-textarea__inner:focus {
  border-color: rgba(0, 234, 255, 0.9) !important;
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 234, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
  background: rgba(15, 25, 40, 0.9) !important;
  outline: none !important;
  transform: translateY(-2px) !important;
}

.el-textarea__inner::placeholder {
  color: rgba(230, 230, 230, 0.5) !important;
  font-size: 14px !important;
}

/* 选择框样式已移除，由各页面自定义 */

.el-select .el-input__wrapper:hover {
  border-color: rgba(0, 234, 255, 0.6) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 234, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
  background: rgba(15, 25, 40, 0.8) !important;
  transform: translateY(-1px) !important;
}

.el-select .el-input__wrapper.is-focus {
  border-color: rgba(0, 234, 255, 0.9) !important;
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 234, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
  background: rgba(15, 25, 40, 0.9) !important;
  transform: translateY(-2px) !important;
}

.el-select .el-input__inner {
  background: transparent !important;
  color: #e6e6e6 !important;
  font-size: 14px !important;
  padding: 0 12px !important;
  position: relative !important;
  z-index: 2 !important;
}

.el-select .el-input__inner::placeholder {
  color: rgba(230, 230, 230, 0.5) !important;
}

/* 下拉菜单样式 - 半透明磨砂质感，宽度与选择框一致 */
.el-select-dropdown {
  background: rgba(15, 25, 40, 0.8) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(0, 234, 255, 0.5) !important;
  border-radius: 10px !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  z-index: 9999 !important;
}

.el-select-dropdown__item {
  color: #e6e6e6 !important;
  background: transparent !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  border-bottom: 1px solid rgba(0, 234, 255, 0.1) !important;
}

.el-select-dropdown__item:last-child {
  border-bottom: none !important;
}

.el-select-dropdown__item:hover {
  background: rgba(0, 234, 255, 0.15) !important;
  color: #00eaff !important;
  backdrop-filter: blur(10px) !important;
}

.el-select-dropdown__item.selected {
  background: rgba(0, 234, 255, 0.25) !important;
  color: #00eaff !important;
  font-weight: 600 !important;
}

/* 弹窗样式 - 半透明磨砂质感 */
.host-dialog .el-dialog,
.tech-dialog .el-dialog {
  background: rgba(15, 25, 40, 0.8) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(0, 234, 255, 0.4) !important;
  border-radius: 16px !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.host-dialog .el-dialog__header,
.tech-dialog .el-dialog__header {
  background: rgba(0, 234, 255, 0.1) !important;
  border-bottom: 1px solid rgba(0, 234, 255, 0.3) !important;
  border-radius: 16px 16px 0 0 !important;
  backdrop-filter: blur(15px) !important;
}

.host-dialog .el-dialog__title,
.tech-dialog .el-dialog__title {
  color: #00eaff !important;
  font-weight: 600 !important;
  text-shadow: 0 0 10px rgba(0, 234, 255, 0.3) !important;
}

.host-dialog .el-dialog__body,
.tech-dialog .el-dialog__body {
  background: transparent !important;
}

/* 弹窗内输入框样式继承全局样式 */
.host-dialog .el-input__wrapper,
.tech-dialog .el-input__wrapper,
.host-dialog .el-textarea__inner,
.tech-dialog .el-textarea__inner,
.host-dialog .el-select .el-input__wrapper,
.tech-dialog .el-select .el-input__wrapper {
  background: rgba(15, 25, 40, 0.6) !important;
  backdrop-filter: blur(15px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
}

/* 卡片样式 - 半透明磨砂质感 */
.el-card {
  background: rgba(15, 25, 40, 0.6) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(0, 234, 255, 0.3) !important;
  border-radius: 12px !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.el-card__header {
  background: rgba(0, 234, 255, 0.05) !important;
  border-bottom: 1px solid rgba(0, 234, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
}

.el-card__body {
  background: transparent !important;
}

/* 表格样式 - 半透明磨砂质感 */
.el-table {
  background: rgba(15, 25, 40, 0.6) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(0, 234, 255, 0.3) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.el-table__header-wrapper {
  background: rgba(0, 234, 255, 0.05) !important;
  backdrop-filter: blur(10px) !important;
}

.el-table th {
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 234, 255, 0.2) !important;
  color: rgba(0, 234, 255, 0.9) !important;
}

.el-table td {
  border-bottom: 1px solid rgba(0, 234, 255, 0.1) !important;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
  background: rgba(0, 234, 255, 0.02) !important;
}

.el-table__body tr:hover td {
  background: rgba(0, 234, 255, 0.05) !important;
}